import {$get,$post} from './http'


export const $getOrder=async(params:object)=>{
    return await $get('./dashboard/getOrderData',params)
}
export const $getLive=async(params:object)=>{
    return await $get('./dashboard/getLiveData',params)
}
export const $getTotal=async(params:object)=>{
    return await $get('./dashboard/getTotal',params)
}
// function login(data?:object){
//     return axios.post('./user/login/',data);
// }

// function register(data:unknown){
//     return axios.post('./user/register/',data);
// }




